# 1.导包
import requests

# 2.发送接口请求
resp = requests.get(url="http://kdtx-test.itheima.net/api/captchaImage")
# 3.查看响应数据
print(resp.status_code)
print(resp.json())